import { IsEmail, IsNotEmpty } from 'class-validator';

export class CreateEmailDto {
  @IsNotEmpty({ message: 'Email is required' })
  @IsEmail()
  email: string;

  @IsNotEmpty()
  checkCode: string;
}
